/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

/**
 *
 * @author Thanh Minh
 */
public class HoaDonThanhToan {

    private int MaHoaDon;
    private int MaPhieuKham;
    private double TienKham;
    private double TienThuoc;

    //contructor
    public HoaDonThanhToan() {
        this.MaHoaDon = -1;
        this.MaPhieuKham = -1;
        this.TienKham = 0;
        this.TienThuoc = 0;
    }

    public HoaDonThanhToan(int MaHoaDon, int MaPhieuKham, double TienKham, double TienThuoc) {
        this.MaHoaDon = MaHoaDon;
        this.MaPhieuKham = MaPhieuKham;
        this.TienKham = TienKham;
        this.TienThuoc = TienThuoc;
    }

    public HoaDonThanhToan(HoaDonThanhToan HDTT) {
        this.MaHoaDon = HDTT.MaHoaDon;
        this.MaPhieuKham = HDTT.MaPhieuKham;
        this.TienKham = HDTT.TienKham;
        this.TienThuoc = HDTT.TienThuoc;
    }

    public int getMaHoaDon() {
        return MaHoaDon;
    }

    public void setMaHoaDon(int MaHoaDon) {
        this.MaHoaDon = MaHoaDon;
    }

    public int getMaPhieuKham() {
        return MaPhieuKham;
    }

    public void setMaPhieuKham(int MaPhieuKham) {
        this.MaPhieuKham = MaPhieuKham;
    }

    public double getTienKham() {
        return TienKham;
    }

    public void setTienKham(double TienKham) {
        this.TienKham = TienKham;
    }

    public double getTienThuoc() {
        return TienThuoc;
    }

    public void setTienThuoc(double TienThuoc) {
        this.TienThuoc = TienThuoc;
    }
}